package com.example.doo;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Controller;
import org.springframework.stereotype.Repository;

@Component
public class Phone {
    @Value("iPhone")
    private String phone;
    @Value("no")
    private String SIM;

    public void PrintPhone(){
        System.out.println("Phone:"+phone+"SIM"+SIM);
    }

}
